package com.zyh.homework.test1.domain;

public class Architect extends Designer{
    public int num;

    public Architect() {
    }

    public Architect(String id, String name, int age, int salary, int bonus, int num) {
        super(id, name, age, salary, bonus);
        this.num = num;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Override
    public void getInfo() {
        System.out.println("编号:"+id+","+"姓名:"+name+","+"年龄:"+age+","+"薪资:"+salary+"编程语言是："+LANGUAGE+"奖金是：" + bonus+"持有股票数量是："+num);
    }
}
